Method Query_BuildPvtProjectionSqlInvocation(long, int?, int, int, bool, string, long[]?, bool)

Assembly: redb.Postgres.dll

Builds the full SELECT statement that invokes
pvt_build_projection_sql. Scalar arguments are inlined safely;
jsonb arguments are exposed as bound placeholders:
$1 = projection (jsonb) — non-empty array, required
$2 = filter (jsonb) — nullable
$3 = order (jsonb) — nullable
$4 = distinct_on (jsonb) — nullable; required when hasDistinctOn
Returns null when native PVT projection is not supported.

public string? Query_BuildPvtProjectionSqlInvocation(long schemeId, int? limit, int offset, int maxDepth, bool distinct, string sourceMode, long[]? treeIds, bool hasDistinctOn = false)